using Core.Extension;

public class SetDataModel : Singleton<SetDataModel>
{
    public static bool BGMusicOn
    {
        get => PlayerPrefsX.GetBool("BGMusicOn", true);
        set => PlayerPrefsX.SetBool("BGMusicOn", value);
    }

    public static bool AudioEffectOn
    {
        get => PlayerPrefsX.GetBool("AudioEffectOn", true);
        set => PlayerPrefsX.SetBool("AudioEffectOn", value);
    }

    public static bool VibrateOn
    {
        get => PlayerPrefsX.GetBool("VibrateOn", true);
        set => PlayerPrefsX.SetBool("VibrateOn", value);
    }
}